﻿<UserControl x:Class="FrontDisplay.Weather.WeatherItemControl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="clr-namespace:FrontDisplay.Controls"
    Width="400" Height="500">
    <Grid>
        <StackPanel>
            <StackPanel Orientation="Horizontal" HorizontalAlignment="Center" Height="90">
                <local:OutlineTextBlock x:Name="Date" FontSize="70" HorizontalAlignment="Right" VerticalAlignment="Bottom" Text="22" StrokeThickness="1" Margin="0,0,10,0" />
                <Viewbox Margin="0,0,0,5" MaxWidth="240" MaxHeight="80" HorizontalAlignment="Left" VerticalAlignment="Bottom">
                    <local:OutlineTextBlock x:Name="Month" HorizontalAlignment="Center" Text="September" StrokeThickness="1" />
                </Viewbox>
            </StackPanel>
            <local:OutlineTextBlock x:Name="Temperature" FontSize="100" HorizontalAlignment="Center" Text="+20 +30" StrokeThickness="1" />
            <Label Margin="40,-10,0,0" x:Name="WeatherCondition" HorizontalAlignment="Center">
                <Label.RenderTransform>
                    <ScaleTransform ScaleX="1.3" ScaleY="1.3" />
                </Label.RenderTransform>
            </Label>
        </StackPanel>
        <local:OutlineTextBlock x:Name="WeekDay" FontSize="60" VerticalAlignment="Bottom" Opacity="0.8" HorizontalAlignment="Center" Margin="0,0,0,5" Text="понедельник" StrokeThickness="1" />
    </Grid>
</UserControl>
